package com.woniu.mapper;

import com.woniu.entity.Book;
import com.woniu.entity.dto.SecBookDTO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface BookMapper {
    List<Book> queryAll();
    Book queryBookDetailByBookId(Integer bookId);
    List<SecBookDTO> querySecActiveAll();
}
